package com.ruoyi.teaching.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.WebSocketMessage;
import com.ruoyi.teaching.domain.vo.ChatMessageVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李志鑫
 * @since 2024-08-23
 */
public interface WebSocketMessageService extends IService<WebSocketMessage> {

    AjaxResult selectChatMessage(Integer pageNum, Integer pageSize, Long dialogueId, String message);

    AjaxResult insertChatMessage(ChatMessageVO chatMessageVO);

    AjaxResult deleteChatMessage(Long dialogueId);


}
